package win.acfelis.tools;

import java.util.UUID;

/**
 * Created by Administrator on 2018/12/1.
 */
public class AppContent {

    public static final int LOGIN_USERNAME_ISBANK = 542110001;//登录失败，用户名或密码不能为空

    public static final int LOGIN_USERNAME_ISNOTEXIST = 542110002;//登录失败，用户名不存在

    public static final int LOGIN_PASSWORD_ERROR = 542110003;//登录失败，密码错误

    public static final int LOGIN_SUCC = 542110004;//登录成功

    public static final int ACTION_SUCC = 542110005;//操作成功

    public static final int ACTION_FAILD = 542110006;//操作失败

    public static final int ACTION_ERROR = 542110007;//操作异常

    public static final String DETAIL_TYPE_ADD = "add";//类型（新增）

    public static final String DETAIL_TYPE_UPDATE = "update";//类型（更新）

    public static String createGuid() {
        return UUID.randomUUID().toString();
    }


}
